package com.unknowpupil.design.flyweight;

/**
 * @Description: <p>
 * 坐标
 * 外部状态UnsharedConcreteFlyWeight非共享享元类
 * </p>
 * @Author: <a> w10g </a>
 * @CreateDate: Create in 2020/4/28 11:04
 * @Classname: Coordinate
 * @Version: 1.0
 */
public class Coordinate {
    private int x,y;

    public Coordinate(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }
}
